import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import BarGraph from '@/components/BarGraph'
import PieGraph from '@/components/PieGraph'
import RingChart from '@/components/RingChart'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Hello',
      component: Hello
    },
    {
      path: '/Bar',
      name: 'BarGraph',
      component: BarGraph
    },
    {
      path: '/Pie',
      name: 'PieGraph',
      component: PieGraph
    },
    {
      path: '/Ring',
      name: 'RingChart',
      component: RingChart
    }
  ]
})
